package com.lyf.task.dao;

import java.util.List;

import com.lyf.task.domain.Product;

public interface ProductMapper {

	public List<Product> getAllProduct();

	public Product getProductById(String pid);

	public void updateProductById(Product product);

	public void insertProduct(Product product);

	public void deleteProductById(Product product);

	public List<Product> searchByName(String name);

}
